package com.sds.sweng.swat.miplatform.ui.design.models.component.logical;

import org.eclipse.draw2d.IFigure;

import com.sds.sweng.swat.miplatform.ui.design.figures.logical.LRadioButtonFigure;

public class LRadioButton extends LogicalComponent {

	public LRadioButton() {

	}

	public LRadioButton(String name, String id, int width, int height, String text, String format) {
		super(name, id, width, height, text, format);
	}

	public IFigure getFigure() {
		LRadioButtonFigure figure = new LRadioButtonFigure();

		figure.setSize(getWidth(), getHeight());
		figure.setText(getText());

		return figure;
	}

}
